﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GestureSaver;
using Microsoft.Kinect;

namespace Experimenter
{
    class Program
    {
        static void Main(string[] args)
        {
            //string db0_Path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\WeightDB\Training";
            //string db1_Path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\WeightDB\Testing";

            //GestureDB db0 = new GestureDB(db0_Path);
            //GestureDB db1 = new GestureDB(db1_Path);

            //Algorithm3 alg3 = new Algorithm3();
            //Tester.Test(db0, db1, alg3);            

            // RotationWork.DoWork();

            string dbPath0 = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\DB";

            GestureDB db = new GestureDB(dbPath0);
            Common.CenterizeAllGestures(db);
            Common.NormalizeAllShoulderLengths(db);
            db.Save(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\Pre-Processed_DB");
        }
     }
}
